package com.senthink.gl.business.userlog;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.Date;

/**
 * @author yuanpeng@senthink.com
 * @data 2018-02-01 15:44
 */

@Data
@JsonInclude(JsonInclude.Include.NON_DEFAULT)
public class UserLogResponse {

    private String username;

    private String operate;

    private String details;

    private String role;

    private String ip;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    protected Date createTime;
}
